diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-05 01:16:42 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-09-05 01:16:42 +0000 |
| commit | ed52f5f887fa79addf0d9686cc440a626d22f6bf (patch) | |
| tree | f086a2cde7ff2be0f72d7b403f296f3270e0f45c /app/[lng]/evcp/(evcp)/edp-progress/page.tsx | |
| parent | b6c9ac31358206ad291583d4b045cc5d83ca3987 (diff) | |
(대표님, 임수민) 벤더별 EDP 데이터 입력 진행률 페이지 개선
Diffstat (limited to 'app/[lng]/evcp/(evcp)/edp-progress/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/edp-progress/page.tsx | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/app/[lng]/evcp/(evcp)/edp-progress/page.tsx b/app/[lng]/evcp/(evcp)/edp-progress/page.tsx index 12e14b98..7edc52c9 100644 --- a/app/[lng]/evcp/(evcp)/edp-progress/page.tsx +++ b/app/[lng]/evcp/(evcp)/edp-progress/page.tsx @@ -1,27 +1,12 @@ import * as React from "react" -import { type SearchParams } from "@/types/table" -import { getValidFilters } from "@/lib/data-table" import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton" -import { EDPProgressTable } from "@/lib/edp-progress/table/edp-progress-table" -import { getEDPProgressLists } from "@/lib/edp-progress/service" import { Shell } from "@/components/shell" import { InformationButton } from "@/components/information/information-button" -import { searchParamsCache } from "@/lib/edp-progress/validations" +import { VendorFormStatusTable } from "@/components/form-data-stat/form-data-stat-table" -interface IndexPageProps { - searchParams: Promise<SearchParams> -} - -export default async function IndexPage(props: IndexPageProps) { - const searchParams = await props.searchParams - const search = searchParamsCache.parse(searchParams) - - const validFilters = getValidFilters(search.filters) - const promises = Promise.all([ - getEDPProgressLists({ filters: validFilters, sort: search.sort, search: search.search, joinOperator: search.joinOperator as any }), - ]) +export default async function IndexPage() { return ( <Shell className="gap-2"> @@ -43,7 +28,7 @@ export default async function IndexPage(props: IndexPageProps) { /> } > - <EDPProgressTable promises={promises} /> + <VendorFormStatusTable /> </React.Suspense> </Shell> ) |
